package com.tiger.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data // Lombok提供的注解，用于自动生成getter、setter、equals、hashCode、toString等方法
@TableName("other_user")
public class OtherUser {
    @TableId(type = IdType.AUTO)
    private Long id; // 自增主键

    private String openid;
    private String wxheadimgurl;
    private String account;
    private String password;
    private String salt;
    private Integer source;
    private String gh;
    private Integer userRole;
    private String name;
    private int sex;
    private String deptCode;
    private String position;
    private String jobPost;
    private String tel;
    private String remark;
    private Long createTime;
    private Long updateTime;
    private Long lastLoginTime;
    private String lastIp;
}
